package utils.global.limitflow;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Inherited
public @interface LimitFlow {

    String name() default "DEFAULT";

    long maxFlow() default 20;

    long expandedTime() default 5;

    TimeUnit timeUnit() default TimeUnit.SECONDS;
}
